package com.flxz.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.flxz.common.annotation.Excel;
import com.flxz.common.core.domain.BaseEntity;

/**
 * 用户签到（管理员）对象 user_checkin
 * 
 * @author fl
 * @date 2025-09-12
 */
public class UserCheckinAdmin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 签到ID（用户ID拼接时间） */
    @Excel(name = "签到ID", readConverterExp = "用=户ID拼接时间")
    private String checkinId;

    /** 用户ID，关联sys_user.user_id */
    @Excel(name = "用户ID，关联sys_user.user_id")
    private Long userId;

    /** 签到时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkinTime;

    public void setCheckinId(String checkinId) 
    {
        this.checkinId = checkinId;
    }

    public String getCheckinId() 
    {
        return checkinId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setCheckinTime(Date checkinTime) 
    {
        this.checkinTime = checkinTime;
    }

    public Date getCheckinTime() 
    {
        return checkinTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkinId", getCheckinId())
            .append("userId", getUserId())
            .append("checkinTime", getCheckinTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
